/**
 * 模块名称：position
 * 创建时间：2018-1-5 11:07:09
 * 说明：定位
 */

@import 'mixins.config';

.pos {
  &-a {
    position: absolute !important;
  }

  &-r {
    position: relative !important;
  }

  &-f {
    position: fixed !important;
  }

  &-static {
    position: static !important;
  }
}

.top {
  &-0 {
    top: 0;
  }

  &-left {
    &-0 {
      @extend .top-0;
      left: 0;
    }
  }

  &-right {
    &-0 {
      right: 0;
      @extend .top-0;
    }
  }

}

.bottom {
  &-0 {
    bottom: 0;
  }

  &-left {
    &-0 {
      @extend .bottom-0;
      left: 0;
    }
  }

  &-right {
    &-0 {
      right: 0;
      @extend .bottom-0;
    }
  }
}

.z-index {
  &-0 {
    z-index: 0;
  }

  &-1 {
    z-index: 1;
  }
  &-2 {
    z-index: 2;
  }
  &-3 {
    z-index: 3;
  }

  &-max {
    z-index: 99999;
  }
}
